Skip to content

Conversation

@gregfromstl
Copy link
Contributor

@gregfromstl gregfromstl commented Oct 17, 2024

Screenshot 2024-10-16 at 6 26 17 PM


PR-Codex overview

This PR focuses on enhancing the analytics dashboard by adding user operation statistics, improving chart components, and updating story files for better visualization of user operations and sponsored transactions.

Detailed summary

  • Fixed typo in fileName from "DialyConnections" to "DailyConnections".
  • Updated title in DailyConnectionsChartCard stories.
  • Introduced userOpStats retrieval and stubbing functions.
  • Integrated userOpUsage and aggregateUserOpUsage in ConnectAnalyticsDashboard.
  • Added TotalSponsoredChartCard and SponsoredTransactionsChartCard components to display user operation statistics.
  • Enhanced ConnectAnalyticsDashboardUI with new stats for sponsored transactions.
  • Updated Stat component to include a formatter for displaying currency.
  • Added story files for TotalSponsoredChartCard and SponsoredTransactionsChartCard.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@gregfromstl gregfromstl added Dashboard Involves changes to the Dashboard. Feature Adds new functionality to the public API. labels Oct 17, 2024
@gregfromstl gregfromstl self-assigned this Oct 17, 2024
@changeset-bot
Copy link

changeset-bot bot commented Oct 17, 2024

⚠️ No Changeset found

Latest commit: 6e4cd21

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Oct 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 2:02am
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Oct 17, 2024 2:02am
thirdweb_playground ⬜️ Skipped (Inspect) Oct 17, 2024 2:02am
wallet-ui ⬜️ Skipped (Inspect) Oct 17, 2024 2:02am

@codecov
Copy link

codecov bot commented Oct 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.29%. Comparing base (7738020) to head (6e4cd21).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5060   +/-   ##
=======================================
  Coverage   45.29%   45.29%           
=======================================
  Files        1059     1059           
  Lines       54724    54724           
  Branches     3953     3953           
=======================================
  Hits        24786    24786           
  Misses      29247    29247           
  Partials      691      691           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 7738020
packages 40.23% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 17, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 42.77 KB (0%) 856 ms (0%) 210 ms (+239.01% 🔺) 1.1 s
thirdweb (cjs) 102.62 KB (0%) 2.1 s (0%) 234 ms (-5.4% 🔽) 2.3 s
thirdweb (minimal + tree-shaking) 4.84 KB (0%) 97 ms (0%) 44 ms (+497.36% 🔺) 141 ms
thirdweb/chains (tree-shaking) 498 B (0%) 10 ms (0%) 45 ms (+2764.94% 🔺) 55 ms
thirdweb/react (minimal + tree-shaking) 17.35 KB (0%) 347 ms (0%) 47 ms (+146.33% 🔺) 394 ms

import { createUserOpStatsStub } from "./storyUtils";

const meta = {
title: "Charts/Connect/Sponsored Transactions",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noice

@gregfromstl gregfromstl added the merge-queue Adds the pull request to Graphite's merge queue. label Oct 17, 2024
Copy link
Contributor Author

gregfromstl commented Oct 17, 2024

Merge activity

  • Oct 16, 9:59 PM EDT: The merge label 'merge-queue' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Oct 16, 9:59 PM EDT: A user added this pull request to the Graphite merge queue.
  • Oct 16, 10:03 PM EDT: A user merged this pull request with the Graphite merge queue.

![Screenshot 2024-10-16 at 6 26 17 PM](https://github.com/user-attachments/assets/0aa9b2f3-2891-4078-9251-7ba60a45f8df)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the analytics dashboard by adding user operation statistics, improving chart components, and correcting minor naming inconsistencies.

### Detailed summary
- Fixed spelling of `DailyConnections` in `DailyConnectionsChartCard`.
- Updated the title of `DailyConnections` in its story file.
- Introduced `userOpStats` functions and types in `useApi.ts` and `storyUtils.ts`.
- Integrated `userOpUsage` and `aggregateUserOpUsage` in `ConnectAnalyticsDashboard`.
- Added `TotalSponsoredChartCard` and `SponsoredTransactionsChartCard` components with user operation stats.
- Modified `ConnectAnalyticsDashboardUI` to include new user operation metrics.
- Enhanced chart data handling for user operations in `TotalSponsoredChartCard` and `SponsoredTransactionsChartCard`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 17, 2024 02:00 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 17, 2024 02:00 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 17, 2024 02:00 Inactive
@graphite-app graphite-app bot merged commit 6e4cd21 into main Oct 17, 2024
30 checks passed
@graphite-app graphite-app bot deleted the feat/aa-analytics branch October 17, 2024 02:03
@vercel vercel bot temporarily deployed to Production – docs-v2 October 17, 2024 02:03 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui October 17, 2024 02:03 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground October 17, 2024 02:03 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dashboard Involves changes to the Dashboard. Feature Adds new functionality to the public API. merge-queue Adds the pull request to Graphite's merge queue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants